<?php
if (!defined('baseinfo')) {
    exitdata();
} 
?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta name="format-detection" content="telephone-no">
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1, width=device-width">
<title><?if($data['data']['title']){
$arraysearch=array('"',"\n\r","\n","\r");
echo  str_replace($arraysearch,'',  strip_tags($data['data']['title']));



}else{echo TitleDmconnex;}?></title>
<meta property="og:title" content="<?if($data['data']['title']){echo $data['data']['title'];}else{}?>" />
<meta property="og:url" content="<?if($data['data']['link']){echo baseinfo.'/'.$data['data']['link'].'/'.$data['data']['productid'];}else{}?>" />
<meta property="og:description" content="<?if($data['data']['description']){

echo  str_replace($arraysearch,'',  strip_tags($data['data']['description']));


}else{echo DescriptionDmconnex;}?>">
<meta name="keywords" content="<?if($data['data']['keyword']){echo $data['data']['keyword'];}else{echo KeywordDmconnex;}?>"> 
<meta property="og:image" content="<?if($data['data']['simg']){echo $data['data']['simg']['newpath'];}else{}?>" />

<link rel="stylesheet" href="<?=baseinfo?>/css/cmreset.css">
<link rel="stylesheet" href="<?=baseinfo?>/css/theme1/themedf.css">

<link rel="stylesheet" href="<?=baseinfo?>/css/theme1/component.css">

<?if($data['file']!="addfeature"){?>
<link rel="stylesheet" href="<?=baseinfo?>/css/theme1/landing.css">
<?}?>

<link rel="stylesheet" href="<?=baseinfo?>/css2/pageall.css">

<link rel="stylesheet" href="<?=baseinfo?>/css/vendor/jquery.mCustomScrollbar.css">
<link rel="stylesheet" href="<?=baseinfo?>/css/vendor/royalslider.css">
<link rel="stylesheet" href="<?=baseinfo?>/css/vendor/jquery-ui-1.9.2.custom.css" />
<?if($data['nowfeature']['istag']==1){?>
<link rel="stylesheet" href="<?=baseinfo?>/css/theme1/tagp.css">

<?}?>


<!--<link rel="stylesheet" href="<?=baseinfo?>/css/theme1/addcontent.css">-->
<?if(count($data['cssdata'])){
foreach($data['cssdata'] as $valuecssdata){?>
<link rel="stylesheet" href="<?=$valuecssdata?>">
<?
}
}?>
<?if(count($data['nowfeature']['cssadd'])){
foreach($data['nowfeature']['cssadd'] as $valuecssdata){?>
<link rel="stylesheet" href="<?=$valuecssdata?>">
<?
}
}

if($_SERVER['REQUEST_URI']=='/booking')
{
echo '<link rel="stylesheet" href="'.baseinfo.'/css/theme1/booking.css'.'">';


}

?>


    <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
    <!-- css -->

    <!-- js -->
    <script>
    var baseinfo='<?=baseinfo?>';
    var NameDmconnex='<?=NameDmconnex?>';
    var serviceinfo='<?=serviceinfo?>';
    var fileinfo='<?=fileinfo?>';
    var imginfo='<?=imginfo?>';
    var zipinfo='<?=zipinfo?>';
    var checknowurl='<?=$_SERVER['REQUEST_URI']?>';
    var useridinfo='<? if($data['user']['userid']){echo $data['user']['userid'];}else{echo 0;}?>';
    var roleidinfo=<? if($data['user']['roleid']){echo $data['user']['roleid'];}else{echo 0;}?>;
    </script>
    <?if($data['googleanalytic']){?>
    <script type="text/javascript">

//  var _gaq = _gaq || [];
//  _gaq.push(['_setAccount', '<?=$data['googleanalytic']?>']);
//  _gaq.push(['_trackPageview']);

//  (function() {
//    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
//    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
//    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
//  })();




(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', '<?=$data['googleanalytic']?>', 'auto');
  ga('require', 'displayfeatures');
  ga('send', 'pageview');

</script>
<?}?>

    <script type="text/javascript" src="<?=baseinfo?>/js/vendor/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="<?=baseinfo?>/js/vendor/modernizr-2.6.2.min.js"></script>
    <script type="text/javascript" src="<?=baseinfo?>/js/coreui.js"></script>
    <script type="text/javascript" src="<?=baseinfo?>/js/vendor/jquery.royalslider.min.js"></script>
    <script type="text/javascript" src="<?=baseinfo?>/js/vendor/jquery.blockUI.js"></script>
    <script src="<?=baseinfo?>/js/vendor/jquery-ui-1.9.2.custom.min.js"></script>
    <script src="<?=baseinfo?>/js/vendor/jquery-ui-timepicker-addon.js"></script>
    <script src="<?=baseinfo?>/js/vendor/jquery.mCustomScrollbar.concat.min.js"></script>
    
    <script type="text/javascript" src="<?=baseinfo?>/js/vendor/media/build/mediaelement.js"></script>
    
    <? if(NameDmconnex=='Canonlife')
    {
    ?>
    <script>(function() {
  var _fbq = window._fbq || (window._fbq = []);
  if (!_fbq.loaded) {
    var fbds = document.createElement('script');
    fbds.async = true;
    fbds.src = '//connect.facebook.net/en_US/fbds.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(fbds, s);
    _fbq.loaded = true;
  }
  _fbq.push(['addPixelId', '274458606071785']);
})();
window._fbq = window._fbq || [];
window._fbq.push(['track', 'PixelInitialized', {}]);
</script>
<noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?id=274458606071785&amp;ev=NoScript" /></noscript>
<?}?>
    
     <?if(count($data['jsdata'])){
foreach($data['jsdata'] as $valuecssdata){?>
<script type="text/javascript" src="<?=$valuecssdata?>"></script>
<?
}
}?>
    
  


    
    

</head>
<body class="<?if($data['bodyset']){echo $data['bodyset'];}else{?>clBg1<?}?>">
